def get_formatted_name2(first,middle,last):
    """生成格式化姓名"""
    full_name = f"{first} {middle} {last}"
    return full_name.title()